/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-05-28
 * Time: 12:53
 */
public class Test {
    public static void main(String[] args) {
        Solution solution = new Solution();
//        int[] arr = {1,2,3};
//        System.out.println(solution.permute(arr));
//        System.out.println(solution.solveNQueens(9));
        char[][] board = {{'A','B','C','E'},{'S','F','C','S'},{'A','D','E','E'}};
        System.out.println(solution.exist(board,"SEE"));
    }
}
